{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}Flasky - 首页{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>Hello，{% if name %}{{ name }} {% else %}Stranger{% endif %}!</h1>
    {% if not known %}
    <p>欢迎你，新同学</p>
    {% else %}
    <p>欢迎回来！</p>
    {% endif %}
    {{ wtf.quick_form(form) }}
    <p>本地时间为：{{ moment(current_time).format('LLL') }}</p>
    <p>过去了{{ moment(current_time).fromNow(refresh=True) }}</p>
</div>
{% endblock %}
